/**
 * 
 */
package ru.cargobroker.maip.base.util;

import java.util.Locale;

/**
 * @author M.Frendiy
 * @since 0.0.1
 */
public class I18nLocalization implements Localization {

	private Locale locale;	
	
	public I18nLocalization() {
		setLocale(Locale.getDefault());
	}
	
	public I18nLocalization(Locale locale) {
		this.locale = locale;
	}

	/* (non-Javadoc)
	 * @see ru.cargobroker.maip.base.util.Localization#getLocale()
	 */
	public Locale getLocale() {
		return locale;
	}

	public void setLocale(Locale locale) {
		this.locale = locale;
	}
}
